package com.junlong0716.enjoylearning.ui

import com.junlong0716.enjoylearning.entity.StudyNoteEntity
import com.junlong0716.module.common.base.IPresenter
import com.junlong0716.module.common.base.IView

/**
 *@author: 巴黎没有摩天轮Li
 *@description:
 *@date: Created in 下午10:04 2018/5/8
 *@modified by:
 */
interface StudyRecordContract {
    interface View : IView {
        fun requestStudyNoteSucceed(noteData: ArrayList<StudyNoteEntity>)
        fun requestQueryMyStudyTimeSucceed(dayList: ArrayList<String>, totalTime: String)
    }

    interface Presenter : IPresenter {
        fun requestStudyNote(studyRecordFragment: StudyRecordFragment, currentPage: Int, onePageCount: Int)
        fun requestStudyNote(noteActivity: NoteActivity, currentPage: Int, onePageCount: Int)
        fun requestQueryMyStudyTime(studyRecordFragment: StudyRecordFragment)
    }
}